package core;

import java.util.Set;
import persistence.League;
import persistence.Team;

public interface ILeagueDAO extends IDAO<League> {

    League getLeagueByTournament(int idTournament);

    League getLeagueByGame(int idGame);

    Set<League> getLeaguesByDiscipline(int idDiscipline);

    Set<League> getLeaguesByOwner(int idUser);

    Team getWinner(int id);
}
